package servlet;

import java.util.ArrayList;
import java.util.List;
//Servlet搜索树的树结点，见ServletMappingTree.java
public class TreeNode {
	private String path;
	private List<TreeNode> subNodeList;
	private String servletClass;

	public TreeNode() {
		subNodeList = new ArrayList<TreeNode>();
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public List<TreeNode> getList() {
		return subNodeList;
	}

	public String getServletClass() {
		return servletClass;
	}

	public void setServletClass(String servletClass) {
		this.servletClass = servletClass;
	}
}

// Cookie[] cookies = request.getCookie();
// for(Cookie cookie : cookies)
// {
// if(cooki.getName().equals("JSESSIONID"))
// cookie.getValue
// }
